package com.ruoyi.tranShort.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排班明细人员对象 short_scheduling_person
 * 
 * @author ruoyi
 * @date 2021-08-14
 */
public class ShortSchedulingPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 排班明细表id */
    @Excel(name = "排班明细表id")
    private Long schedulingDetailId;

    /** 人员id */
    @Excel(name = "人员id")
    private Long personId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchedulingDetailId(Long schedulingDetailId) 
    {
        this.schedulingDetailId = schedulingDetailId;
    }

    public Long getSchedulingDetailId() 
    {
        return schedulingDetailId;
    }
    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schedulingDetailId", getSchedulingDetailId())
            .append("personId", getPersonId())
            .toString();
    }
}
